package com.inpion.biz.dataStorage.test;

import com.inpion.biz.dataStorage.ConfigDocumentIsNotFoundException;
import com.inpion.biz.dataStorage.ConfigDocumentProcessException;
import com.inpion.biz.dataStorage.DataMetaInfo;
import com.inpion.biz.dataStorage.DataRecord;
import com.inpion.biz.dataStorage.DataResult;
import com.inpion.biz.dataStorage.DataServiceJob;
import com.inpion.biz.dataStorage.DataStorage;
import com.inpion.biz.dataStorage.Parameters;
import com.inpion.biz.dataStorage.FieldInfo;

public class DataStorageServiceLoadQueryInfoTestCase {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		
		String queryId = "cassandra.query.select.user";
		
		// storage configure init with path
		String storageConfig = "C:/Users/john/workspaces/bizBroker.0.0.0.1/BizBrokerDataStorageBusiness/config/DataStorageBusinessConfig.xml";
		
		try {
			String queryString = DataStorage.getQuery(storageConfig, queryId);
			System.out.println("target QueryString : " + queryString);
		} catch (ConfigDocumentIsNotFoundException e) {
			e.printStackTrace();
		} catch (ConfigDocumentProcessException e) {
			e.printStackTrace();
		}
		
	}
		
}
